package com.dayuanit.booksystem.v3.net;

import com.dayuanit.booksystem.v3.net.common.DypResponse;

/**
 * Dyp协议响应的信息
 */
public class DypServletResponse implements DypResponse {
    //编码集
    private String charset;
    //响应的内容
    private String data;

    public DypServletResponse(String charset, String data) {
        this.charset = charset;
        this.data = data;
    }

    @Override
    public String toString() {
        return "DypServletResponse{" +
                "charset='" + charset + '\'' +
                ", data='" + data + '\'' +
                '}';
    }

    public String getCharset() {
        return charset;
    }

    public String getData() {
        return data;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public void setData(String data) {
        this.data = data;
    }
}
